package com.tlb.dto;

import java.io.Serializable;
import javax.persistence.*;

@Entity
@Table(name="post")
public class Post implements Serializable {
    public Post() {
    }
    
    @Id
    private int postId;
    
       
    private String postDate;
    private int lft;
    private int rgt;
    private int threadId;
    private boolean nsfw;
    private boolean spam;
    private boolean tos;

    public int getPostId() {
        return postId;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }

    public String getPostDate() {
        return postDate;
    }

    public void setPostDate(String postDate) {
        this.postDate = postDate;
    }

    public int getLft() {
        return lft;
    }

    public void setLft(int lft) {
        this.lft = lft;
    }

    public int getRgt() {
        return rgt;
    }

    public void setRgt(int rgt) {
        this.rgt = rgt;
    }

    public int getThreadId() {
        return threadId;
    }

    public void setThreadId(int threadId) {
        this.threadId = threadId;
    }

    public boolean getSpam() {
        return spam;
    }

    public void setSpam(boolean spam) {
        this.spam = spam;
    }

    public boolean getNsfw() {
        return nsfw;
    }

    public void setNsfw(boolean nsfw) {
        this.nsfw = nsfw;
    }

    public boolean getTos() {
        return tos;
    }

    public void setTos(boolean tos) {
        this.tos = tos;
    }

    
    
}
